package by.abolut.carpool.persistence;

import java.util.List;

/**
 * Created by Andrey on 19.10.2014.
 */
public interface IBasePersistence<T> {
    void create(T entity);

    List<T> readAll();

    T update(T entity);

    void delete(T entity);
}
